package com.academic_system.model;

import com.academic_system.util.DateJsonType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

/**
 * @author 20155883 万珊
 * @description 党支部活动临时表
 * @project_name PartyActivityTemp
 * @package com.academic_system.model
 * @create 2018-11-06 22:32
 **/
public class PartyActivityTemp {
    private Integer partyActivityTempId;
    private int partyActivityId;
    private Integer partyInfoId;
    private Integer partyOrganizationNum;
    private String partyActivityName;
    @JsonSerialize(using = DateJsonType.class)
    private Date partyActivityTime;
    private String partyActivityDescription;

    public Integer getPartyActivityTempId() {
        return partyActivityTempId;
    }

    public void setPartyActivityTempId(Integer partyActivityTempId) {
        this.partyActivityTempId = partyActivityTempId;
    }

    public int getPartyActivityId() {
        return partyActivityId;
    }

    public void setPartyActivityId(int partyActivityId) {
        this.partyActivityId = partyActivityId;
    }


    public Integer getPartyInfoId() {
        return partyInfoId;
    }

    public void setPartyInfoId(Integer partyInfoId) {
        this.partyInfoId = partyInfoId;
    }


    public Integer getPartyOrganizationNum() {
        return partyOrganizationNum;
    }

    public void setPartyOrganizationNum(Integer partyOrganizationNum) {
        this.partyOrganizationNum = partyOrganizationNum;
    }


    public String getPartyActivityName() {
        return partyActivityName;
    }

    public void setPartyActivityName(String partyActivityName) {
        this.partyActivityName = partyActivityName;
    }


    public Date getPartyActivityTime() {
        return partyActivityTime;
    }

    public void setPartyActivityTime(Date partyActivityTime) {
        this.partyActivityTime = partyActivityTime;
    }


    public String getPartyActivityDescription() {
        return partyActivityDescription;
    }

    public void setPartyActivityDescription(String partyActivityDescription) {
        this.partyActivityDescription = partyActivityDescription;
    }

    @Override
    public String toString() {
        return "PartyActivityTemp{" +
                "partyActivityTempId=" + partyActivityTempId +
                ", partyActivityId=" + partyActivityId +
                ", partyInfoId=" + partyInfoId +
                ", partyOrganizationNum=" + partyOrganizationNum +
                ", partyActivityName='" + partyActivityName + '\'' +
                ", partyActivityTime=" + partyActivityTime +
                ", partyActivityDescription='" + partyActivityDescription + '\'' +
                '}';
    }
}
